package com.yupi.yuapicommon.service;


import com.yupi.yuapicommon.model.entity.UserInterfaceInfo;

public interface InnerUserInterfaceInfoService {
    /**
     * 调用接口次数统计
     * @param interfaceInfoId
     * @param userId
     * @return
     */
    boolean invokeCount(long interfaceInfoId, long userId);

    /**
     * 根据接口id和用户id查询用户在该分配的接口相关信息
     * @param interfaceInfoId
     * @param userId
     * @return
     */
    UserInterfaceInfo getUserInterfaceInfo(long interfaceInfoId, long userId);
}
